package com.qfedu.tantu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 预订酒店日志表(THousLog)实体类
 *
 * @author makejava
 * @since 2022-07-01 20:09:49
 */
@Data
@TableName("t_hous_log")
@NoArgsConstructor
public class HousLog implements Serializable {
    private static final long serialVersionUID = -51333092387496336L;
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 下单人姓名
     */
    private String peoplename;
    /**
     * 酒店名字
     */
    private String housname;
    /**
     * 酒店类型
     */
    private String houstype;
    /**
     * 酒店价格
     */
    private Object housprice;
    /**
     * 下单时间
     */
    private Date ctime;
    /**
     * 支付状态
     */
    private Integer flag;

    public HousLog(String peoplename, String housname, String houstype, Object housprice, Date ctime, Integer flag) {
        this.peoplename = peoplename;
        this.housname = housname;
        this.houstype = houstype;
        this.housprice = housprice;
        this.ctime = ctime;
        this.flag = 3;
    }
}

